package chances.webui.model;

@SuppressWarnings("serial")
public class Column implements java.io.Serializable {
	private String styleClass;
	private String title;
	private String field;
	private String format;
	private String sort;
	private String align;
	private String valign;
    private String editor;
    private boolean editReadOnly= false;
    private boolean appendReadOnly= false;
	private Object lookup;
	private String input;
	private String style;
	private boolean required;
	private boolean searchable;

	

	private boolean keyFiled;


	public String getStyleClass() {
		return styleClass;
	}

	public String getTitle() {
		return title;
	}

	public String getField() {
		return field;
	}

	public String getFormat() {
		return format;
	}

	public String getSort() {
		return sort;
	}

	public String getAlign() {
		return align;
	}

	public String getValign() {
		return valign;
	}

	public void setStyleClass(String styleClass) {
		this.styleClass = styleClass;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setField(String field) {
		this.field = field;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public void setAlign(String align) {
		this.align = align;
	}

	public void setValign(String valign) {
		this.valign = valign;
	}

	public String getEditor() {
		return editor;
	}

	public void setEditor(String editor) {
		this.editor = editor;
	}

	public Object getLookup() {
		return lookup;
	}

	public void setLookup(Object lookup) {
		this.lookup = lookup;
	}
	

	public boolean isKeyFiled() {
		return keyFiled;
	}

	public void setKeyFiled(boolean keyFiled) {
		this.keyFiled = keyFiled;
	}
	
	public String getInput() {
		return input;
	}

	public void setInput(String input) {
		this.input = input;
	}

	public boolean isSearchable() {
		return searchable;
	}

	public void setSearchable(boolean searchable) {
		this.searchable = searchable;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public boolean isRequired() {
		return required;
	}

	public void setRequired(boolean required) {
		this.required = required;
	}

    public boolean isEditReadOnly() {
        return editReadOnly;
    }

    public void setEditReadOnly(boolean editReadOnly) {
        this.editReadOnly = editReadOnly;
    }

    public boolean isAppendReadOnly() {
        return appendReadOnly;
    }

    public void setAppendReadOnly(boolean appendReadOnly) {
        this.appendReadOnly = appendReadOnly;
    }
}
